package com.tequila.core.service;

import com.tequila.domain.dto.StoreDto;
import com.tequila.domain.entity.Store;
import com.tequila.domain.query.StoreQuery;
import fe.core.Pagination;

import java.util.List;

public interface StoreService {

    public Pagination<StoreDto> queryPageListByParam(StoreQuery query);

    public StoreDto queryById(Long id);

    public List<StoreDto> queryByIdList(List<Long> idList);

    public List<StoreDto> queryListByParam(StoreQuery query);

    public Long insert(Store entity);

    public Long save(Store entity);

    public int updateById(Store param);

    public int updateSelectiveById(Store param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);

}
